package javaLanguage.base;

public class genericInstance <T> implements  instance<T>{
    public T key;
    public T getKey(){
        return key;
    }
    public T method(){
        System.out.println(key);
        return key;
    }
}

interface instance <T>{
    public T method();
}
